#!/usr/bin/env bash
# 安装必备工具：vim, unzip, lsof
set -Eeuo pipefail

type log_info >/dev/null 2>&1 || { echo "[install_basic] _common.sh 未加载"; exit 1; }

install_basic_tools() {
  ensure_root
  apt_quiet_update
  DEBIAN_FRONTEND=noninteractive apt-get install -y \
    vim unzip lsof
  log_info "必备工具安装完成：vim unzip lsof"
}
